package com.css.fxfzypg.modules.suggestinfo.analysis.emergencydisaster.service;

import com.css.fxfzypg.modules.suggestinfo.analysis.emergencydisaster.repository.entity.EmergencyDisasterEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.ParamsVo;
import com.css.fxfzypg.modules.suggestinfo.manage.emergencydisasterManage.repository.entity.EmergencyDisasterManageEntity;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface EmergencyDisasterService {
    Boolean save(EmergencyDisasterEntity emergencyDisasterEntity) throws UnsupportedEncodingException;

    Boolean update(EmergencyDisasterEntity emergencyDisasterEntity);

    EmergencyDisasterEntity getEmergencyDisasterData(ParamsVo params);

    List<EmergencyDisasterEntity> getEmergencyDisasterDataByTaskNum(String taskNum);

    EmergencyDisasterEntity getEmergencyDisasterDataByTaskNum(String taskNum, String cityId, String areaId);

    int getCountById(String id);

    List<EmergencyDisasterEntity> getEmergencyDisasterAreaData(ParamsVo paramsVo);
}
